//
//  ZJMessage.h
//  QQ_Chat_UI
//
//  Created by ZJ on 2018/7/31.
//  Copyright © 2018年 iCatch Technology Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum : NSUInteger {
    ZJMessageTypeMe = 0,
    ZJMessageTypeOther = 1,
} ZJMessageType;

@interface ZJMessage : NSObject

@property (nonatomic, copy) NSString *text;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, assign) ZJMessageType type;

@property (nonatomic, assign) BOOL hideTime;
@property (nonatomic, copy) NSString *iconImgName;

- (instancetype)initWithDict:(NSDictionary *)dict;
+ (instancetype)messageWithDict:(NSDictionary *)dict;

@end
